package com.yigang.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yigang.entity.ActivitySession;

/**
 * @author 陈佳祥
 *活动场次
 */
public interface ActivitySessionDao {
	//根据id 查询
	ActivitySession selectActivitySessionById(int session_id);
//查询所有
	List<ActivitySession> selectActivitySessionList(ActivitySession record);
//删除
	int deleteByPrimaryKey(Integer session_id);
//添加
	int insertSelective(ActivitySession record);
//修改活动状态  根据id
	void updateActivitySessionStatusById(@Param("session_id")int session_id, @Param("session_status")int session_status);
//根据主键修改活动场次信息
	int updateByPrimaryKeySelective(ActivitySession record);
}
